//购物车服务层
app.service('orderInfoService',function($http){
    //查找用户收货地址
    this.findAddressList=function(){
        return $http.get('addressController/findListByLoginUser.do');
    }
    //保存订单
    this.submitOrder=function(order){
        return $http.post('orderController/add.do',order);
    }

});